By using event_hook, it's now possible to write pure Ruby event hooks instead of having to write native code to hook into the Ruby interpreter.
借由event_hook,我们可以不必大费周章地通过编写原生代码给Ruby解释器挂上钩子,现在只需编写纯ruby代码就可以实现事件钩子了。
Pure interpreted, where all code gets parsed on the device and executed with our AST-walking interpreter logic.
纯解释,所有的代码在设备上完成了解析并且通过我们的AST - walking解释逻辑执行。
应用推荐